import Loadable from '@components/Loadable';
import MainLayout from '@layouts/MainLayout';
import React, {lazy} from 'react';

// project imports

// dashboard routing
// eslint-disable-next-line new-cap
const IndexPage = Loadable(lazy(() => import('../views/IndexPage')));

// ==============================|| MAIN ROUTING ||============================== //

const MainRoutes = {
    path: '/',
    element: <MainLayout />,
    children: [
        {
            path: '/',
            element: <IndexPage />,
        },
    ],
};

export default MainRoutes;
